﻿<Window x:Class="MultipleChildren_VS_Rendering.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
		xmlns:local="clr-namespace:MultipleChildren_VS_Rendering"
    Title="Window1" WindowState="Maximized" Loaded="Window_Loaded">
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		
		<d3:ChartPlotter Name="leftPlotter" Grid.Column="0" Visible="-0.1,-0.1 1.1,1.1">
			<d3:MarkerChart Name="leftChart" ItemsSource="{Binding}">
				<d3:RectangleMarker MarkerWidth="2" MaxHeight="2" MarkerFill="Red" MarkerStroke="{x:Null}"/>
			</d3:MarkerChart>
		</d3:ChartPlotter>
		
		<d3:ChartPlotter Name="rightPlotter" Grid.Column="1" Visible="-0.1,-0.1 1.1,1.1">
			<d3:ViewportHostPanel>
				<local:DrawingPanel x:Name="rightChart" d3:ViewportPanel.ViewportBounds="0,0,1,1"/>
			</d3:ViewportHostPanel>
		</d3:ChartPlotter>
	</Grid>
</Window>
